/*
 * @Author: 'Chenfarry' '2925102113@qq.com'
 * @Date: 2024-07-22 10:57:37
 * @LastEditors: chenhuanhuan 2925102113@qq.com
 * @LastEditTime: 2024-11-20 10:40:06
 * @FilePath: \orderApp\pages.config.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'

export default defineUniPages({
  globalStyle: {
    navigationStyle: 'default',
    navigationBarTitleText: '',
    navigationBarBackgroundColor: '#f8f8f8',
    navigationBarTextStyle: 'black',
    // backgroundColor: '#FFFFFF',
    h5: {
      navigationStyle: 'custom',
    },
  },
  easycom: {
    autoscan: true,
    custom: {
      '^layout-(.*)-uni': '@/layouts/$1.vue',
      '^uv-(.*)': '@climblee/uv-ui/components/uv-$1/uv-$1.vue',
    },
  },
  tabBar: {
    color: '#111111',
    selectedColor: '#006241',
    // backgroundColor: '#4DD1C0',
    borderStyle: 'black',
    height: '108rpx',
    fontSize: '19rpx',
    iconWidth: '54rpx',
    spacing: '3px',
    list: [
      {
        iconPath: 'static/tabbar/home.png',
        selectedIconPath: 'static/tabbar/homeHl.png',
        pagePath: 'pages/home/index',       
        text: '首页',
      },
      {
        iconPath: 'static/tabbar/rank.png',
        selectedIconPath: 'static/tabbar/rankHl.png',
        pagePath: 'pages/rank/index',
        // backgroundColor: "#00754A",
        text: '排行榜',
      },
      // {
      //   iconPath: 'static/tabbar/message.png',
      //   selectedIconPath: 'static/tabbar/messageHl.png',
      //   pagePath: 'pages/message/index',
      //   text: '消息',
      // },
      {
        iconPath: 'static/tabbar/center.png',
        selectedIconPath: 'static/tabbar/centerHl.png',
        pagePath: 'pages/personal/index',
        // backgroundColor: "#006241",
        text: '我的',
      },
    ],
  },
})
